<!DOCTYPE html>
<html data-bs-theme="light" class="netnrmd-light">

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="keywords" content="netnr,NET牛人" />
    <meta name="description" content="netnr,NET牛人,Netnr Project">
    <link rel='shortcut icon' href='favicon.ico' type='image/x-icon' />
    <title>netnr</title>

    <style id="style0">
        body::after {
            position: fixed;
            top: 2vh;
            left: 1vw;
            opacity: .8;
            content: "loading";
        }
    </style>
    <script>
        if (document.cookie.includes(".theme=dark")) {
            document.getElementById("style0").innerHTML += "body { color: #d4d4d4; background-color: #0d1117 }";

            let domHtml = document.documentElement;
            domHtml.dataset.bsTheme = "dark";
            domHtml.className = domHtml.className.replace('light', 'dark');
        }
    </script>
</head>

<body>

    <!--menu-->
    <nav class="app-nav" style="display:none;">
        <ul>
            <li><a class="flag-theme" title="Theme"></a></li>
        </ul>
    </nav>

    <!--main-->
    <div id="app"></div>

    <link rel="stylesheet" href="static/docsify-better/docsify-better.css?20241111" />

    <script>
        window.$docsify = {
            repo: "netnr",
            noEmoji: true,
            auto2top: true,
            subMaxLevel: 3,
            loadSidebar: true,
            relativePath: true,
            routerMode: "history",
            markdown: { renderer: { code: (code, language) => `<pre><code>${codeToHtml(code, language)}</code></pre>` } },
            plugins: [
                function (hook) {
                    // 每次开始解析 Markdown 内容时调用
                    hook.beforeEach(function (content) {
                        let domMain = document.getElementById("main");
                        domMain.classList.add("markdown-body");

                        return content;
                    });
                }
            ]
        }
    </script>

    <script src="static/docsify-better/docsify-better.js?20241111"></script>
</body>

</html>